package com.wrs.wrsfcmpush.broadcastreceiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class BootReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)) {
            startAccessibilityService(context);
        }
    }

    private void startAccessibilityService(Context context) {
        // 开启无障碍服务的代码
    }
}
